package com.lanchetech.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 商家/门店 货款卡
 */
@ApiModel(value = "com-lanchetech-entity-GoodsCard")
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class GoodsCard implements Serializable {

    /**
     * id
     */
    @ApiModelProperty(value = "id")
    private Long id;

    /**
     * 卡名称
     */
    @ApiModelProperty(value = "卡名称")
    private String name;

    /**
     * 卡图片
     */
    @ApiModelProperty(value = "卡图片")
    private String cardImage;

    /**
     * 备注
     */
    @ApiModelProperty(value = "备注")
    private String remark;

    /**
     * 卡背景颜色
     */
    @ApiModelProperty(value = "卡背景颜色")
    private String cardColor;

    /**
     * 预付货款卡金额
     */
    @ApiModelProperty(value = "预付货款卡金额")
    private BigDecimal cardAmount;

    /**
     * 奖励模板配置(如:广告窗 Id)
     */
    @ApiModelProperty(value = "奖励配置")
    private Long rewardSetting;

    /**
     * 奖励类型
     */
    @ApiModelProperty(value = "奖励模板类型")
    private Byte bannerSceneEnum;

    /**
     * 状态 开启/关闭
     */
    @ApiModelProperty(value = "状态 开启/关闭")
    private Byte status;

    /**
     * 是否已删除
     */
    @ApiModelProperty(value = "是否已删除")
    private Byte deleted;

    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间")
    private Date createdAt;

    /**
     * 修改时间
     */
    @ApiModelProperty(value = "修改时间")
    private Date updateAt;

    private static final long serialVersionUID = 1L;

}
